//
//  UIImage+Extension.h
//  AmountBody
//
//  Created by Qiu Jishuai on 2018/1/25.
//  Copyright © 2018年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Extension)
- (UIImage *)stretchImageWithInsetsTop: (CGFloat)top left: (CGFloat)left bottom: (CGFloat)bottom right: (CGFloat)right;
- (instancetype)alwaysOriginalImage;
+ (instancetype)imageByColor:(UIColor *)color
                        size: (CGSize)size
                cornerRadius:(CGFloat)radius
                 borderWidth:(CGFloat)borderWidth
                 borderColor:(UIColor *)borderColor
                     stretch: (BOOL)stretch;
@end
